package dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Serverinfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "serverinfo", catalog = "leko")
public class Serverinfo implements java.io.Serializable {

	// Fields

	private Short id;
	private String serverEmail;
	private String serverEmailPwd;
	private String smsAccount;
	private String smsPassword;
	private String smsUrl;

	// Constructors

	/** default constructor */
	public Serverinfo() {
	}

	/** full constructor */
	public Serverinfo(String serverEmail, String serverEmailPwd,
			String smsAccount, String smsPassword, String smsUrl) {
		this.serverEmail = serverEmail;
		this.serverEmailPwd = serverEmailPwd;
		this.smsAccount = smsAccount;
		this.smsPassword = smsPassword;
		this.smsUrl = smsUrl;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Short getId() {
		return this.id;
	}

	public void setId(Short id) {
		this.id = id;
	}

	@Column(name = "server_email")
	public String getServerEmail() {
		return this.serverEmail;
	}

	public void setServerEmail(String serverEmail) {
		this.serverEmail = serverEmail;
	}

	@Column(name = "server_email_pwd")
	public String getServerEmailPwd() {
		return this.serverEmailPwd;
	}

	public void setServerEmailPwd(String serverEmailPwd) {
		this.serverEmailPwd = serverEmailPwd;
	}

	@Column(name = "smsAccount", length = 50)
	public String getSmsAccount() {
		return this.smsAccount;
	}

	public void setSmsAccount(String smsAccount) {
		this.smsAccount = smsAccount;
	}

	@Column(name = "smsPassword")
	public String getSmsPassword() {
		return this.smsPassword;
	}

	public void setSmsPassword(String smsPassword) {
		this.smsPassword = smsPassword;
	}

	@Column(name = "smsUrl")
	public String getSmsUrl() {
		return this.smsUrl;
	}

	public void setSmsUrl(String smsUrl) {
		this.smsUrl = smsUrl;
	}

}